<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>{$title} - 我网「wooo.wang」</title>
    <meta name="Keywords" content="{$title},我网,文档,我网文档,我网社区,知识,经验"/>
    <meta name="Description" content="{$description}我网主要为多人协作书写文档（知识、经验和见解）提供平台，帮助他人更有效率的获取知识、学习和成长！我网[wooo.wang],分享与收获知识、经验、见解的团体协作书写平台！"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge，chrome=1">
    <link href="__STATIC__/common/img/favicon.ico" type="image/x-icon" rel="shortcut icon">
    <link rel="stylesheet" href="__STATIC__/common/css/base.css?v=__VERSION__">
    <block name="css"></block>
    <link rel="stylesheet" href="__STATIC__/doc/css/main.css?v=__VERSION__">
    <include file="./static/common/tpl/baidu_js.html" />
</head>
<body class="base">
<header>
    <div class="section header clearfix">
        <a href="//doc.wooo.wang"><strong>@ Docs.</strong></a>
        <if condition="UID">
            <if condition="$mcount gt 0">
                <a href="{:U('/msg/'.UID)}">&nbsp;&nbsp;<span class="icon-i"></span>&nbsp;&nbsp;<span class="user-tip"></span></a>
            <else/>
                <a href="{:U('/u/'.UID)}">&nbsp;&nbsp;<span class="icon-i"></span></a>
            </if>
        <else />
            <a href="{:U('/login@wooo.wang')}">登录</a>
        </if>
    </div>
</header>
<section class="section main">
    <div class="faqs clearfix">
        <block name="crumb"></block>
        <div class="bbs-header bbs-right {$tieHide}">
            <if condition="!UID">
                <h1>{$org.name}</h1>
                <p>{$org.desc}</p>
            <elseif condition="UID and !$focused"/>
                <h1>{$org.name}<a class="btn btn-red bbs-focus-btn" href="javascript:void(0)" id="focusBtn" data-mark="1">关注</a></h1>
                <p>{$org.desc}</p>
            <elseif condition="UID and $focused"/>
                <h1>{$org.name}<a class="btn btn-ed bbs-focus-btn" href="javascript:void(0)" id="focusBtn" data-mark="2" title="取消关注">已关注</a></h1>
                <p>{$org.desc}</p>
                <p class="user-info">您的贡献度：<strong>0</strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--排名：<strong>0</strong--><a class="btn btn-default bbs-focus-btn bbs-jz-btn" href="javascript:void(0)" id="donationBtn">捐赠</a></p>
            </if>
        </div>
        <block name="bbs"></block>
        <div class="bbs-right">
            <div class="aside-box">
                <div class="sbox-header">
                    <h2>Ads.</h2>
                </div>
                <div class="sbox-container">
                    <ul class="sbox-ul ads-ul" id="adContent">
                        <volist name="ad" id="ad">
                            <li><a href="{$ad['url']}"><img src="{$ad['img']}" alt="{$ad['desc']}"></a></li>
                        </volist>
                    </ul>
                </div>
            </div>
            <div class="aside-box">
                <div class="sbox-header">
                    <h2>Org.</h2>
                </div>
                <div class="sbox-container">
                    <ul class="sbox-ul bbs-info">
                        <li><span>管理员</span>
                            <if condition="$admin">
                                <volist name="admin" id="avo">
                                    <a href="{:U('/u/'.$avo['id'])}">{$avo.nick}</a>
                                </volist>
                                <else/>
                                <a class="load-msg" href="javascript:void(0)">暂无管理员</a>
                            </if>
                        </li>
                        <li><span>关注用户</span><strong>{$org.focus}</strong></li>
                        <li><span>贡献度</span><strong>{$org.gx}</strong></li>
                        <li><span>问答</span><strong>{$org.tz}</strong></li>
                        <li><span>回复</span><strong>{$org.hf}</strong></li>
                        <li class="clearfix"><a href="{:U('/org/'.$org['id'])}" class="to-org-link">团体管理中心</a></li>
                    </ul>
                </div>
            </div>
        </div>
    </div>
</section>
<footer>
    <ul class="section footer clearfix">
        <li><a href="//wooo.wang">主页</a></li>
        <li><a href="{:U('/suggest')}">建议</a></li>
        <li><a href="{:U('/links')}">友链</a></li>
        <li><a href="{:U('/connect')}">联系</a></li>
        <li><a href="{:U('/about')}">关于</a></li>
        <li><a href="{:U('/donate')}" class="red">捐赠</a></li>
        <li><a href="//wooo.wang">wooo.wang @2015-2016.</a></li>
    </ul>
</footer>
<div id="clearpop">
    <p id="clearpopTxt"></p>
</div>
<if condition="UID">
    <div class="modal hide" id="modal">
        <div class="modal-container" style="max-width:400px;margin-top:20%;">
            <div class="modal-content">
                <div class="modal-header">
                    <button class="modal-close" id="modalClose"><span>&times;</span></button>
                    <h4 class="modal-title">捐赠贡献度</h4>
                </div>
                <div class="modal-body">
                    <div class="form">
                        <div class="form-item">
                            <input type="number" name="gx" id="gxInput" data-gx="{$user.gx}" min="1" max="{$user.gx}" placeholder="请填写您捐赠的贡献度额度...">
                        </div>
                    </div>
                    <p class="edit-tip">您当前拥有 <strong class="red" id="userAllGx">{$user.gx}</strong> 点贡献度...</p>
                </div>
                <div class="modal-footer">
                    <button class="modal-no" id="modalNo">取消</button>
                    <button class="modal-save no-save" id="modalOk">确认</button>
                </div>
            </div>
        </div>
    </div>
</if>
<a href="//doc.wooo.wang/suggest.html" target="_blank" id="bugBtn"><span class="icon-left" onclick="$(this).parent().toggleClass('bugMark');return false;"></span> 提交BUG</a>
<script src="__STATIC__/common/js/zepto.min.js?v=__VERSION__"></script>
<script src="__STATIC__/common/js/marked.js?v=__VERSION__"></script>
<script src="__STATIC__/common/js/qiniu/plupload.full.min.js?v=__VERSION__"></script>
<script src="__STATIC__/common/js/qiniu/qiniu.js?v=__VERSION__"></script>
<block name="js"></block>
<script src="__STATIC__/doc/js/bbs.js?v=__VERSION__"></script>
</body>
</html>
